package utils

import (
	"os"

	"github.com/sirupsen/logrus"
)

var Log = logrus.New()

func init() {
	Log.Out = os.Stdout
	Log.Formatter = &logrus.TextFormatter{
		FullTimestamp: true,
	}
	Log.Level = logrus.InfoLevel
	if os.Getenv("DEBUG_MODE") == "true" {
		Log.Level = logrus.DebugLevel
	}
}
